機能
- You can now use the Gaussian Blur effect to create a blur based on the Gaussian function over the entire input image or part of the image.
- Added IsBlackAndWhite and IsGrayscale in GcBitmap class. These methods make it faster to check whether the image consists of black and white pixels or just shades of gray.
- The IsBlackAndWhitemethod checks whether all image pixels are either opaque black or opaque white.
- The IsGrayscale method checks whether all pixels of GcBitmap are shades of gray, i.e., their alpha channel is set to 0xFF (fully opaque), and their red, green, and blue channels have the same value.
- Added ApplyGaussianBlur and ToShadowBitmap methods in GrayscaleBitmap class to draw images with shadow. The ApplyGaussianBlur method with two overloads applies Gaussian blur to a grayscale bitmap. You can also specify a border color which is the assumed level of opacity (from 0 to 255) for the pixels surrounding the image.
- The ToShadowBitmap also has two overloads, drawing transparency mask into an existing bitmap. With this method, you can specify a shadow color and an opacity factor. You can apply shadow on text or graphics.
- You can now apply glow and soft edges effect on grayscale bitmap using the GrayscaleBitmap.ApplyGlow method which takes in a radius of glow inflation (positive value) or deflation (negative value) and a blur radius. The glow and soft edges effects are similar to those in Microsoft Word.
- Line Breaking and Justification Settings in Text:
- Introduced LineBreakingRules and WordBoundaryRules properties in TextLayout class which allow the user to switch from the standard Unicode line-breaking/text segmentation algorithms to more simplified rules reproducing the behavior of the text renderer in GDI+ or the line-breaking rules in Microsoft Excel.
- The TextExtensionStrategy property has also been introduced to justify the text when TextLayout.TextAlignment property is set to either Justified or Distributed. The property offers enum values as Default, Normal, EastAsianExcel, and Excel, depending on whether the property value permits text extension for wide characters and white spaces or for white spaces only.
- You can now easily crop and resize images using the crop and resize options now present in the toolbar. The following options can be applied:
- Crop Tool:
- Custom aspect ratio.
- Crop at X/Y Coordinates.
- Crop with Image Width or Height.
- Use Apply or Cancel options.
- Resize Tool:
- Keep aspect ratio (boolean).
- Set the Width and Height of resized image.
- Use Apply or Cancel options.
- SVG can contain text elements, which are not images but real text. This text can now be selected, copied, or searched when the SVG image is displayed in the viewer.
- The InterpolationMode property can now be set using the GcGraphics object. The property is also added to SaveAsImageOptions class when saving PDFs to images. The property now allows you to control interpolation mode in a similar manner for all implementations of GcGraphics, i.e., format-specific types of graphics such as GcPdfGraphics, GcBitmapGraphics, GcSvgGraphics, GcSkiaGraphics, GcWicBitmapGraphics, GcD2DBitmapGraphics.
- Introduced a new layout engine that adds LayoutRect and other related classes in the GrapeCity.Documents.Layout namespace to implement a layout model based on constraints and a flat hierarchy of elements without obvious parent-child relations.
- The New TableRenderer class has been added to render table layouts on PDF files and images. With this class, you won't need to know the size of table columns, merged cells, or the layout of rotated text. All complex details of table resizing are automatically adjusted by the layout engine.
- You must provide information about the desired layout, style, and content.
- TableRenderer class is built on top of the new layout engine. LayoutHost, LayoutView, and LayoutRect provide the initial space for the TableRenderer.
- All table rows, columns, vertical and horizontal grid lines and cells have the associated LayoutRect objects.
- A TableRenderer instance takes multiple parameters.
- You can also add cells to the table and add text to it using AddCells(..) method that accepts data as a parameter.
- Also included is the AddMissingCells(..) method that ensures no gaps around the cells and accepts data as a parameter.
.NETアプリケーションで画像を作成、読み込み、変更、保存
ご質問がありますか?
今すぐ MESCIUS (旧社名:GrapeCity) ライセンススペシャリストとライブ チャット。
1996に公式ディストリビューターとして登録