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 (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/4]
PdfSharp.Drawing.XForm.XForm |
( |
| ) |
|
|
protected |
Initializes a new instance of the XForm class.
◆ XForm() [2/4]
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() [3/4]
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() [4/4]
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.
◆ IsCmyk
override bool PdfSharp.Drawing.XForm.IsCmyk |
|
get |
Gets a value indicating whether this image is cmyk.
true
if this image is cmyk; otherwise, false
.
◆ IsJpeg
override bool PdfSharp.Drawing.XForm.IsJpeg |
|
get |
Gets a value indicating whether this image is JPEG.
true
if this image is JPEG; otherwise, false
.
◆ Memory
override MemoryStream PdfSharp.Drawing.XForm.Memory |
|
get |
Gets the JPEG memory stream (if IsJpeg returns true).
The memory.
◆ 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: