The class representing a graphics context of the objects.
It's used for performing simple graphics operations.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public sealed class PdfCanvas
Public NotInheritable Class PdfCanvas
public ref class PdfCanvas sealed
[<SealedAttribute>] type PdfCanvas = class end
Members
All Members | Properties | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
ClientSize |
Gets the size of the canvas reduced by margins and page templates.
| |
ColorSpace |
Gets or sets the current color space.
| |
DrawArc(PdfPen, RectangleF, Single, Single) |
Draws an arc.
| |
DrawArc(PdfPen, Single, Single, Single, Single, Single, Single) |
Draws an arc.
| |
DrawBezier(PdfPen, PointF, PointF, PointF, PointF) |
Draws a bezier curve.
| |
DrawBezier(PdfPen, Single, Single, Single, Single, Single, Single, Single, Single) |
Draws a bezier curve.
| |
DrawEllipse(PdfBrush, RectangleF) |
Draws an ellipse.
| |
DrawEllipse(PdfPen, RectangleF) |
Draws an ellipse.
| |
DrawEllipse(PdfPen, PdfBrush, RectangleF) |
Draws an ellipse.
| |
DrawEllipse(PdfBrush, Single, Single, Single, Single) |
Draws an ellipse.
| |
DrawEllipse(PdfPen, Single, Single, Single, Single) |
Draws an ellipse.
| |
DrawEllipse(PdfPen, PdfBrush, Single, Single, Single, Single) |
Draws an ellipse.
| |
DrawImage(PdfImage, PointF) |
Draws an image.
| |
DrawImage(PdfImage, RectangleF) |
Draws an image.
| |
DrawImage(PdfImage, PointF, SizeF) |
Draws an image.
| |
DrawImage(PdfImage, Single, Single) |
Draws an image.
| |
DrawImage(PdfImage, Int32, PointF, SizeF) |
Draws an image,recommending monochrome image.
| |
DrawImage(PdfImage, Single, Single, Single, Single) |
Draws an image.
| |
DrawImage(PdfImage, Int32, Single, Single, Single, Single) |
Draws an image,recommending monochrome image
| |
DrawLine(PdfPen, PointF, PointF) |
Draws a line.
| |
DrawLine(PdfPen, Single, Single, Single, Single) |
Draws a line.
| |
DrawPath(PdfBrush, PdfPath) |
Draws a path.
| |
DrawPath(PdfPen, PdfPath) |
Draws a path.
| |
DrawPath(PdfPen, PdfBrush, PdfPath) |
Draws a path.
| |
DrawPie(PdfBrush, RectangleF, Single, Single) |
Draws a pie.
| |
DrawPie(PdfPen, RectangleF, Single, Single) |
Draws a pie.
| |
DrawPie(PdfPen, PdfBrush, RectangleF, Single, Single) |
Draws a pie.
| |
DrawPie(PdfBrush, Single, Single, Single, Single, Single, Single) |
Draws a pie.
| |
DrawPie(PdfPen, Single, Single, Single, Single, Single, Single) |
Draws a pie.
| |
DrawPie(PdfPen, PdfBrush, Single, Single, Single, Single, Single, Single) |
Draws a pie.
| |
DrawPolygon(PdfBrush, array<PointF>[]()[][]) |
Draws a polygon.
| |
DrawPolygon(PdfPen, array<PointF>[]()[][]) |
Draws a polygon.
| |
DrawPolygon(PdfPen, PdfBrush, array<PointF>[]()[][]) |
Draws a polygon.
| |
DrawRectangle(PdfBrush, RectangleF) |
Draws a rectangle.
| |
DrawRectangle(PdfPen, RectangleF) |
Draws a rectangle.
| |
DrawRectangle(PdfPen, PdfBrush, RectangleF) |
Draws a rectangle.
| |
DrawRectangle(PdfBrush, Single, Single, Single, Single) |
Draws a rectangle.
| |
DrawRectangle(PdfPen, Single, Single, Single, Single) |
Draws a rectangle.
| |
DrawRectangle(PdfPen, PdfBrush, Single, Single, Single, Single) |
Draws a rectangle.
| |
DrawString(String, PdfFontBase, PdfBrush, PointF) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, RectangleF) |
Draws the specified text string at the specified location and size
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PointF) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, RectangleF) |
Draws the specified text string at the specified location and size
with the specified Pen and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, PointF, PdfStringFormat) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, PointF, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, RectangleF, PdfStringFormat) |
Draws the specified text string at the specified location and size
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, RectangleF, Boolean) |
Draws the specified text string at the specified location and size
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, Single, Single) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, PointF) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PointF, PdfStringFormat) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PointF, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, RectangleF, PdfStringFormat) |
Draws the specified text string at the specified location and size
with the specified Pen and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, RectangleF, Boolean) |
Draws the specified text string at the specified location and size
with the specified Pen and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, Single, Single) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, PointF, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, RectangleF, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location and size
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, Single, Single, PdfStringFormat) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, Single, Single, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, PointF, PdfStringFormat) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, PointF, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, RectangleF, PdfStringFormat) |
Draws the specified text string at the specified location and size
with the specified Pen, Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, Single, Single) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PointF, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, RectangleF, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location and size
with the specified Pen and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, Single, Single, PdfStringFormat) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, Single, Single, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfBrush, Single, Single, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, PointF, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, RectangleF, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location and size
with the specified Pen, Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, Single, Single, PdfStringFormat) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, Single, Single, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, Single, Single, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawString(String, PdfFontBase, PdfPen, PdfBrush, Single, Single, PdfStringFormat, Boolean) |
Draws the specified text string at the specified location
with the specified Brush and Font objects.
| |
DrawTemplate(PdfTemplate, PointF) |
Draws a template using its original size, at the specified location.
| |
DrawTemplate(PdfTemplate, PointF, SizeF) |
Draws a template at the specified location and size.
| |
Equals(Object) | (Inherited from Object.) | |
Flush()()()() |
Flashes this instance.
| |
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
Restore()()()() |
Restores the last state of this Graphics.
| |
Restore(PdfGraphicsState) |
Restores the state of this Graphics to the state represented by a GraphicsState.
| |
RotateTransform(Single) |
Rotates the coordinate system in clockwise direction.
| |
RotateTransform(Single, PointF) |
Rotates the coordinate system in clockwise direction around specified point.
| |
Save()()()() |
Saves the current state of this Graphics and identifies the saved state with a GraphicsState.
| |
ScaleTransform(Single, Single) |
Scales the coordinates by specified coordinates.
| |
SetClip(RectangleF) |
Modifying the current clipping path by intersecting it with the current path.
| |
SetClip(PdfPath) |
Modifying the current clipping path by intersecting it with the current path.
| |
SetClip(RectangleF, PdfFillMode) |
Modifying the current clipping path by intersecting it with the current path.
| |
SetClip(PdfPath, PdfFillMode) |
Modifying the current clipping path by intersecting it with the current path.
| |
SetTransparency(Single) |
Sets the transparency.
| |
SetTransparency(Single, Single) |
Sets the transparency.
| |
SetTransparency(Single, Single, PdfBlendMode) |
Sets the transparency.
| |
Size |
Gets the size of the canvas.
| |
SkewTransform(Single, Single) |
Skews the coordinate system axes.
| |
ToString()()()() | (Inherited from Object.) | |
TranslateTransform(Single, Single) |
Translates the coordinates by specified coordinates.
|