Represents a graphical object that can be used to render retained graphics on it. In GDI+ it is represented by a Metafile, in WPF by a DrawingVisual, and in PDF by a Form XObjects.
More...
|
| XForm (XGraphics gfx, XSize size) |
| Initializes a new instance of the XForm class such that it can be drawn on the specified graphics object. More...
|
|
| XForm (XGraphics gfx, XUnit width, XUnit height) |
| Initializes a new instance of the XForm class such that it can be drawn on the specified graphics object. More...
|
|
| XForm (PdfDocument document, XRect viewBox) |
| Initializes a new instance of the XForm class that represents a page of a PDF document. More...
|
|
| XForm (PdfDocument document, XSize size) |
| Initializes a new instance of the XForm class that represents a page of a PDF document. More...
|
|
| XForm (PdfDocument document, XUnit width, XUnit height) |
| Initializes a new instance of the XForm class that represents a page of a PDF document. More...
|
|
void | DrawingFinished () |
| This function should be called when drawing the content of this form is finished. The XGraphics object used for drawing the content is disposed by this function and cannot be used for any further drawing operations. PDFsharp automatically calls this function when this form was used the first time in a DrawImage function. More...
|
|
void | Dispose () |
| Under construction More...
|
|
Represents a graphical object that can be used to render retained graphics on it. In GDI+ it is represented by a Metafile, in WPF by a DrawingVisual, and in PDF by a Form XObjects.
◆ XForm() [1/6]
PdfSharp.Drawing.XForm.XForm |
( |
| ) |
|
|
protected |
Initializes a new instance of the XForm class.
◆ XForm() [2/6]
Initializes a new instance of the XForm class such that it can be drawn on the specified graphics object.
- Parameters
-
gfx | The graphics object that later is used to draw this form. |
size | The size in points of the form. |
◆ XForm() [3/6]
Initializes a new instance of the XForm class such that it can be drawn on the specified graphics object.
- Parameters
-
gfx | The graphics object that later is used to draw this form. |
width | The width of the form. |
height | The height of the form. |
◆ XForm() [4/6]
Initializes a new instance of the XForm class that represents a page of a PDF document.
- Parameters
-
document | The PDF document. |
viewBox | The view box of the page. |
◆ XForm() [5/6]
Initializes a new instance of the XForm class that represents a page of a PDF document.
- Parameters
-
document | The PDF document. |
size | The size of the page. |
◆ XForm() [6/6]
Initializes a new instance of the XForm class that represents a page of a PDF document.
- Parameters
-
document | The PDF document. |
width | The width of the page. |
height | The height of the page |
◆ Dispose()
override void PdfSharp.Drawing.XForm.Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
◆ DrawingFinished()
void PdfSharp.Drawing.XForm.DrawingFinished |
( |
| ) |
|
This function should be called when drawing the content of this form is finished. The XGraphics object used for drawing the content is disposed by this function and cannot be used for any further drawing operations. PDFsharp automatically calls this function when this form was used the first time in a DrawImage function.
◆ BoundingBox
XRect PdfSharp.Drawing.XForm.BoundingBox |
|
getset |
Gets or sets the bounding box.
◆ Height
override double PdfSharp.Drawing.XForm.Height |
|
get |
Get the width of the page identified by the property PageNumber.
◆ HorizontalResolution
override double PdfSharp.Drawing.XForm.HorizontalResolution |
|
get |
Gets 72, the horizontal resolution by design of a form object.
◆ PixelHeight
override int PdfSharp.Drawing.XForm.PixelHeight |
|
get |
Get the height of the page identified by the property PageNumber.
◆ PixelWidth
override int PdfSharp.Drawing.XForm.PixelWidth |
|
get |
Get the width of the page identified by the property PageNumber.
◆ PointHeight
override double PdfSharp.Drawing.XForm.PointHeight |
|
get |
Get the height in point of this image.
◆ PointWidth
override double PdfSharp.Drawing.XForm.PointWidth |
|
get |
Get the width in point of this image.
◆ Size
override XSize PdfSharp.Drawing.XForm.Size |
|
get |
Get the size of the page identified by the property PageNumber.
◆ Transform
virtual XMatrix PdfSharp.Drawing.XForm.Transform |
|
getset |
Gets or sets the transformation matrix.
◆ VerticalResolution
override double PdfSharp.Drawing.XForm.VerticalResolution |
|
get |
Gets 72 always, the vertical resolution by design of a form object.
◆ ViewBox
XRect PdfSharp.Drawing.XForm.ViewBox |
|
get |
Gets the view box of the form.
◆ Width
override double PdfSharp.Drawing.XForm.Width |
|
get |
Get the width of the page identified by the property PageNumber.
The documentation for this class was generated from the following file: