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.
Inheritance Hierarchy
PdfEdit.DrawingXImage
PdfEdit.DrawingXForm
PdfEdit.DrawingXPdfForm
Namespace: PdfEdit.Drawing
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The XForm type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XForm |
Initializes a new instance of the XForm class.
| |
XForm(PdfDocument, XRect) |
Initializes a new instance of the XForm class that represents a page of a PDF document.
| |
XForm(PdfDocument, XSize) |
Initializes a new instance of the XForm class that represents a page of a PDF document.
| |
XForm(XGraphics, XSize) |
Initializes a new instance of the XForm class such that it can be drawn on the specified graphics
object.
| |
XForm(PdfDocument, XUnit, XUnit) |
Initializes a new instance of the XForm class that represents a page of a PDF document.
| |
XForm(XGraphics, XUnit, XUnit) |
Initializes a new instance of the XForm class such that it can be drawn on the specified graphics
object.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Under construction
(Inherited from XImage.) | |
Dispose(Boolean) |
Disposes this instance.
(Overrides XImageDispose(Boolean).) | |
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.
PDFEdit automatically calls this function when this form was used the first time
in a DrawImage function.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
BoundingBox |
Gets or sets the bounding box.
| |
Format |
Gets the format of the image.
(Inherited from XImage.) | |
Height | Obsolete.
Get the width of the page identified by the property PageNumber.
(Overrides XImageHeight.) | |
HorizontalResolution |
Gets 72, the horizontal resolution by design of a form object.
(Overrides XImageHorizontalResolution.) | |
Interpolate |
Gets or sets a flag indicating whether image interpolation is to be performed.
(Inherited from XImage.) | |
PixelHeight |
Get the height of the page identified by the property PageNumber.
(Overrides XImagePixelHeight.) | |
PixelWidth |
Get the width of the page identified by the property PageNumber.
(Overrides XImagePixelWidth.) | |
PointHeight |
Get the height in point of this image.
(Overrides XImagePointHeight.) | |
PointWidth |
Get the width in point of this image.
(Overrides XImagePointWidth.) | |
Size |
Get the size of the page identified by the property PageNumber.
(Overrides XImageSize.) | |
Transform |
Gets or sets the transformation matrix.
| |
VerticalResolution |
Gets 72 always, the vertical resolution by design of a form object.
(Overrides XImageVerticalResolution.) | |
ViewBox |
Gets the view box of the form.
| |
Width | Obsolete.
Get the width of the page identified by the property PageNumber.
(Overrides XImageWidth.) |
See Also