[]
        
(Showing Draft Content)

C1.Util.Drawing

Drawing Class

The path that suppored IFlowDocument interface.

Inheritance
Drawing
Namespace: C1.Util
Assembly: C1.Pdf.dll
Syntax
public static class Drawing

Methods

Name Description
CloneImage(Image)

Clone image using bitmap.

GetBitmap(int, int)

Gets created bitmap.

GetContentRect(Image, RectangleF, ContentAlignment, ImageSizeMode)

Gets render rectangle based on image, alignment, and size mode

GetContentRect(SizeF, RectangleF, ContentAlignment, ImageSizeMode)

Gets render rectangle based on content/image size, alignment, and size mode

GetImageSizeInPoints(Image)

Gets the size of an image expressed in points.

GetSvgImage(string)

Gets image from SVG code.

GetSvgSize(string)

Gets image size in points from SVG code.

Normalize(RectangleF)

Normalize rectangle.

ToImage(GcBitmap)

Convert bitmap to image.