Free Trial
Web API version
Licensing
Request A Quote
HAVE QUESTIONS OR NEED HELP? SUBMIT THE SUPPORT REQUEST FORM or write email to SUPPORT@BYTESCOUT.COM
Represents class for a canvas (a two-dimensional region on which all painting occurs).
Inheritance Hierarchy
Bytescout.PDFCanvas
Bytescout.PDFGraphicsTemplate
Namespace: Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
The Canvas type exposes the following members.
Properties
Name | Description | |
---|---|---|
BlendMode |
Gets or sets the blend mode.
| |
Height |
Gets the height of the canvas.
| |
HTMLFormattingForTextEnabled |
Set HTML formatting support for drawString()
Enabled by default
| |
RenderingIntent |
Gets or sets the rendering intent.
| |
Width |
Gets the width of the canvas.
|
Methods
Name | Description | |
---|---|---|
BeginMarkedContent |
Initializes the creation of content group.
| |
DrawArc(Pen, RectangleF, Single, Single) |
Draws an arc representing a portion of an ellipse specified by a System.Drawing.RectangleF structure.
| |
DrawArc(Pen, Single, Single, Single, Single, Single, Single) |
Draws an arc representing a portion of an ellipse.
| |
DrawCircle(Brush, PointF, Single) |
Draws a circle with specified center coordinates and radius.
| |
DrawCircle(Pen, PointF, Single) |
Draws a circle with specified center coordinates and radius.
| |
DrawCircle(Brush, Single, Single, Single) |
Draws a circle with specified center coordinates and radius.
| |
DrawCircle(Pen, Brush, PointF, Single) |
Draws a circle with specified center coordinates and radius.
| |
DrawCircle(Pen, Single, Single, Single) |
Draws a circle with specified center coordinates and radius.
| |
DrawCircle(Pen, Brush, Single, Single, Single) |
Draws a circle with specified center coordinates and radius.
| |
DrawCurve(Pen, PointF, PointF, PointF, PointF) |
Draws a cubic Bézier curve.
| |
DrawCurve(Pen, Single, Single, Single, Single, Single, Single, Single, Single) |
Draws a cubic Bézier curve.
| |
DrawEllipse(Brush, RectangleF) |
Draws an ellipse defined by a bounding System.Drawing.RectangleF.
| |
DrawEllipse(Pen, RectangleF) |
Draws an ellipse defined by a bounding System.Drawing.RectangleF.
| |
DrawEllipse(Pen, Brush, RectangleF) |
Draws an ellipse defined by a bounding System.Drawing.RectangleF.
| |
DrawEllipse(Brush, Single, Single, Single, Single) |
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
| |
DrawEllipse(Pen, Single, Single, Single, Single) |
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
| |
DrawEllipse(Pen, Brush, Single, Single, Single, Single) |
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
| |
DrawImage(Image, Single, Single) |
Draws the specified image, using its original size, at the specified location.
| |
DrawImage(Image, Single, Single, Single, Single) |
Draws the specified image at the specified location with specified size.
| |
DrawLine(Pen, PointF, PointF) |
Draws a line connecting two System.Drawing.PointF structures.
| |
DrawLine(Pen, Single, Single, Single, Single) |
Draws a line connecting the two points specified by the coordinate pairs.
| |
DrawPath(Brush, Path) |
Draws a Bytescout.PDF.Path.
| |
DrawPath(Pen, Path) |
Draws a Bytescout.PDF.Path.
| |
DrawPath(Pen, Brush, Path) |
Draws a Bytescout.PDF.Path.
| |
DrawPie(Brush, RectangleF, Single, Single) |
Draws a pie shape defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.
| |
DrawPie(Pen, RectangleF, Single, Single) |
Draws a pie shape defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.
| |
DrawPie(Pen, Brush, RectangleF, Single, Single) |
Draws a pie shape defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.
| |
DrawPie(Brush, Single, Single, Single, Single, Single, Single) |
Draws a pie shape.
| |
DrawPie(Pen, Single, Single, Single, Single, Single, Single) |
Draws a pie shape.
| |
DrawPie(Pen, Brush, Single, Single, Single, Single, Single, Single) |
Draws a pie shape.
| |
DrawPolygon(Brush, PointsArray) |
Draws a polygon defined by an array of System.Drawing.PointF structures.
| |
DrawPolygon(Brush, PointF) |
Draws a polygon defined by an array of System.Drawing.PointF structures.
| |
DrawPolygon(Pen, PointsArray) |
Draws a polygon defined by an array of System.Drawing.PointF structures.
| |
DrawPolygon(Pen, PointF) |
Draws a polygon defined by an array of System.Drawing.PointF structures.
| |
DrawPolygon(Pen, Brush, PointsArray) |
Draws a polygon defined by an array of System.Drawing.PointF structures.
| |
DrawPolygon(Pen, Brush, PointF) |
Draws a polygon defined by an array of System.Drawing.PointF structures.
| |
DrawRectangle(Brush, RectangleF) |
Draws a rectangle specified by a System.Drawing.Rectangle structure.
| |
DrawRectangle(Pen, RectangleF) |
Draws a rectangle specified by a System.Drawing.Rectangle structure.
| |
DrawRectangle(Pen, Brush, RectangleF) |
Draws a rectangle specified by a System.Drawing.Rectangle structure.
| |
DrawRectangle(Brush, Single, Single, Single, Single) |
Draws a rectangle specified by a coordinate pair, a width, and a height.
| |
DrawRectangle(Pen, Single, Single, Single, Single) |
Draws a rectangle specified by a coordinate pair, a width, and a height.
| |
DrawRectangle(Pen, Brush, Single, Single, Single, Single) |
Draws a rectangle specified by a coordinate pair, a width, and a height.
| |
DrawRoundedRectangle(Brush, RectangleF, Single) |
Draws a rectangle structure with rounded corners specified by a System.Drawing.RectangleF structure.
| |
DrawRoundedRectangle(Pen, RectangleF, Single) |
Draws a rectangle structure with rounded corners specified by a System.Drawing.RectangleF structure.
| |
DrawRoundedRectangle(Pen, Brush, RectangleF, Single) |
Draws a rectangle structure with rounded corners specified by a System.Drawing.RectangleF structure.
| |
DrawRoundedRectangle(Brush, Single, Single, Single, Single, Single) |
Draws a rectangle structure with rounded corners specified by a coordinate pair, a width, and a height.
| |
DrawRoundedRectangle(Pen, Single, Single, Single, Single, Single) |
Draws a rectangle structure with rounded corners specified by a coordinate pair, a width, and a height.
| |
DrawRoundedRectangle(Pen, Brush, Single, Single, Single, Single, Single) |
Draws a rectangle structure with rounded corners specified by a coordinate pair, a width, and a height.
| |
DrawString(String, Font, Brush, RectangleF) |
Draws the specified text string at the specified location and size with the specified Brush and font objects.
| |
DrawString(String, Font, Pen, RectangleF) |
Draws the specified text string at the specified location and size with the specified pen and font objects.
| |
DrawString(String, Font, Brush, Pen, RectangleF) |
Draws the specified text string at the specified location and size with the specified pen, Brush and font objects.
| |
DrawString(String, Font, Brush, RectangleF, StringFormat) |
Draws the specified text string at the specified location and size with the specified Brush and font objects.
| |
DrawString(String, Font, Brush, Single, Single) |
Draws the specified text string at the specified location with the specified Brush and font objects.
| |
DrawString(String, Font, Pen, RectangleF, StringFormat) |
Draws the specified text string at the specified location and size with the specified pen and font objects.
| |
DrawString(String, Font, Pen, Single, Single) |
Draws the specified text string at the specified location with the specified pen and font objects.
| |
DrawString(String, Font, Brush, Pen, RectangleF, StringFormat) |
Draws the specified text string at the specified location and size with the specified pen, Brush and font objects.
| |
DrawString(String, Font, Brush, Pen, Single, Single) |
Draws the specified text string at the specified location with the specified pen, Brush and font objects.
| |
DrawString(String, Font, Brush, Single, Single, StringFormat) |
Draws the specified text string at the specified location with the specified Brush and font objects.
| |
DrawString(String, Font, Pen, Single, Single, StringFormat) |
Draws the specified text string at the specified location with the specified pen and font objects.
| |
DrawString(String, Font, Brush, Pen, Single, Single, StringFormat) |
Draws the specified text string at the specified location with the specified pen, Brush and font objects.
| |
DrawString(String, Font, Brush, Single, Single, Single, Single, StringFormat) |
Draws the specified text string at the specified location and size with the specified Brush and font objects.
| |
DrawString(String, Font, Pen, Single, Single, Single, Single, StringFormat) |
Draws the specified text string at the specified location and size with the specified pen and font objects.
| |
DrawString(String, Font, Brush, Pen, Single, Single, Single, Single, StringFormat) |
Draws the specified text string at the specified location and size with the specified pen, Brush and font objects.
| |
DrawTable |
Draws the specified table at the specified location.
| |
DrawTemplate(GraphicsTemplate, Single, Single) |
Draws a template using its original size, at the specified location.
| |
DrawTemplate(GraphicsTemplate, Single, Single, Single, Single) |
Draws a template at the specified location and size.
| |
EndMarkedContent |
Finalizes an optional content group.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MeasureString(String, Font) |
Measures the specified string when drawn with the specified Font.
| |
MeasureString(String, Font, StringFormat) |
Measures the width of the text, considering Word Spacing and
Character Spacing of the String Format
| |
MeasureString(String, Font, Single) |
Measures the specified string limited to the specified width.
| |
MeasureString(String, Font, Single, StringFormat) |
Measures the specified string limited to the specified width.
| |
MemberwiseClone | (Inherited from Object.) | |
RestoreGraphicsState |
Restores the last saved graphics state.
| |
RotateTransform |
Applies the specified rotation to the transformation matrix.
| |
SaveGraphicsState |
Saves the current graphics state.
| |
ScaleTransform |
Applies the specified scaling operation to the transformation matrix.
| |
SetClip(RectangleF) |
Modifies the current clipping path by intersecting it with the current path.
| |
SetClip(Path) |
Modifies the current clipping path by intersecting it with the current path.
| |
SetClip(Single, Single, Single, Single) |
Modifies the current clipping path by intersecting it with the current path.
| |
SkewTransform |
Skews the x axis by an angle alpha and the y axis by an angle beta.
| |
ToString | (Inherited from Object.) | |
TranslateTransform |
Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix.
|
See Also