[]
        
(Showing Draft Content)

C1.Util.IFlowDocument

IFlowDocument Interface

Represents the format used to encode an image into a stream.

Namespace: C1.Util
Assembly: C1.Pdf.dll
Syntax
public interface IFlowDocument : IFlowRendering, IRendering

Properties

Name Description
CurrentPage

Gets current page number for this document.

Landscape

Gets or sets the default page orientation for the document.

PageCount

Gets the count of pages in the document.

PageSize

Gets or sets the default page size for the document (in points).

PaperKind

Gets or sets the default page size for the document.

RotateAngle

Gets or sets the rotate angle for drawing simple objects for the document in degree (from -360 to 360).

Methods

Name Description
Clear()

Restores the document to its initial state.

DrawArc(Pen, RectangleF, float, float)

Draws an arc defined by an ellipse specified by a rectangle structure and two radial lines.

DrawBeziers(Pen, PointF[])

Draws a series of Bezier splines from an array of point structures.

DrawEllipse(Pen, RectangleF)

Draws an ellipse defined by a bounding rectangle specified by a rectangle structure.

DrawEllipse(Pen, float, float, float, float)

Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.

DrawImage(Image, RectangleF)

Draw image/bitmap with content alignment.

DrawImage(Image, RectangleF, ContentAlignment, ImageSizeMode)

Draws the specified GrapeCity.Documents.Drawing.Image object at the specified location, adjusting the image size as specified by the align and mode parameters.

DrawImage(Image, RectangleF, RectangleF)

Draw image/bitmap with content alignment.

DrawLine(Pen, PointF, PointF)

Draws a line connecting two point structures.

DrawLine(Pen, float, float, float, float)

Draws a line connecting the two points specified by coordinate pairs.

DrawLines(Pen, PointF[])

Draws a series of line segments that connect an array of point structures.

DrawPath(Pen, PointF[], byte[], bool)

Draws a path defined by points and types.

DrawPie(Pen, RectangleF, float, float)

Draws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.

DrawPolygon(Pen, PointF[])

Draws a polygon defined by an array of point structures.

DrawRectangle(Pen, RectangleF)

Draws a rectangle specified by a rectangle structure.

DrawRectangle(Pen, RectangleF, SizeF)

Draws a rounded rectangle specified by rectangle and size structures.

DrawRectangle(Pen, float, float, float, float)

Draws a rectangle specified by a coordinate pair, a width, and a height.

DrawString(string, Font, Color, PointF)

Draws the specified text string at the specified point with the specified Color and Font objects.

DrawString(string, Font, Color, RectangleF)

Draws the specified text string in the specified rectangle with the specified Color and Font objects.

DrawString(string, Font, Color, RectangleF, StringFormat)

Draws the specified text string in the specified rectangle with the specified Color and Font objects using the formatting attributes of the specified StringFormat object.

DrawStringHtml(string, Font, Color, RectangleF, float)

Draws an HTML string in the specified rectangle with the specified Color and Font objects, starting at a given offset within the string.

DrawStringRtf(string, Font, Color, RectangleF, float)

Draws an RTF string in the specified rectangle with the specified Color and Font objects, starting at a given offset within the string.

DrawSvg(string, RectangleF)

Draw SVG data with content alignment.

DrawSvg(string, RectangleF, ContentAlignment, ImageSizeMode)

Draws the specified SVG data at the specified location, adjusting the SVG size as specified by the align and mode parameters.

DrawSvg(string, RectangleF, RectangleF)

Draw SVG data with content alignment.

FillArc(Color, RectangleF, float, float)

Fills an arc defined by an ellipse specified by a rectangle structure and two radial lines.

FillEllipse(Color, RectangleF)

Fills the interior of an ellipse defined by a bounding rectangle specified by a rectangle structure.

FillEllipse(Color, float, float, float, float)

Fills the interior of an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.

FillPath(Color, PointF[], byte[], bool)

Fills a path defined by points and types.

FillPie(Color, RectangleF, float, float)

Fills a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.

FillPolygon(Color, PointF[], FillMode)

Fills a polygon defined by an array of point structures using the specified fill mode.

FillRectangle(Color, RectangleF)

Fills the interior of a rectangle specified by a rectangle structure.

FillRectangle(Color, RectangleF, SizeF)

Fills the interior of a rounded rectangle specified by rectangle and size structures.

FillRectangle(Color, float, float, float, float)

Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.

MeasureString(string, Font)

Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.

MeasureString(string, Font, float)

Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.

MeasureString(string, Font, float, StringFormat)

Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.

MeasureStringHtml(string, Font, float)

Measures an HTML string when drawn with a given Font object into a rectangle with the specified width.

MeasureStringRtf(string, Font, float)

Measures an RTF string when drawn with a given Font object into a rectangle with the specified width.

NewPage()

Starts a new page.

Save(Stream, string)

Save this document to the stream.

Save(string)

Save this flow document to the file with file name.