In This Topic
New Features and Improvements
- [Data Templates] Ability to use arrays of elementary types as data sources. The virtual "value" tag expands to the value of an array element.
- Basic support for embedded fonts.
- Property DocumentBase.Fonts: gets the collection of FontInfo objects associated with this document.
- Several properties added to ThemeFont class to support embedded fonts.
- Class FontInfo: represents the properties of a font used in a document.
- Class FontInfoCollection: represents a collection of FontInfo objects.
- Class FontSignature: specifies code pages and Unicode subranges for which a font provides glyphs.
- Class EmbeddedFont: represents an embedded font and its binary data.
- Class EmbeddedFontCollection: represents a collection of EmbeddedFont objects.
- Enumeration FontCharSet: defines character sets that may be supported by a font.
- Enumeration FontFamily: specifies values representing the possible font families.
- Enumeration FontPitch: specifies the pitch of a font.
- Enumeration EmbeddedFontType: specifies the type of an embedded font.
- Enumeration FontDataType: specifies the data type of an embedded font.
Bug fixes
- [Data Templates] If FindReplaceOptions.RemoveEmptyRuns is true, template expansion produces incorrect results.
Breaking changes
- Removed method overloads that accept System.Drawing.Image type, as it is no longer supported on non-Windows systems: Picture.Add(Image) and ImageData.SetImage(Image).
- EditableRangeCollection.Add() and EditableRangeCollection.Insert() method overloads changed.
Breaking changes affecting all GrapeCity.Documents packages:
- GrapeCity.Documents.Common package has been removed, types defined in it have been moved to GrapeCity.Documents.Imaging.
- GrapeCity.Documents.Common.Windows package has been replaced by GrapeCity.Documents.Imaging.Windows.
- GrapeCity.Documents.Pdf.Resources has been removed, types defined in it have been moved to GrapeCity.Documents.Pdf.