Class representing metafiles.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class PdfMetafile : PdfImage, [T:sprᝰ], IDisposable
Public Class PdfMetafile Inherits PdfImage Implements [T:sprᝰ], IDisposable
public ref class PdfMetafile : public PdfImage, [T:sprᝰ], IDisposable
type PdfMetafile = class inherit PdfImage interface [T:sprᝰ] interface IDisposable end
Members
| All Members | Constructors | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| PdfMetafile(Metafile) | Initializes a new instance of the PdfMetafile class | |
| PdfMetafile(Stream) | Initializes a new instance of the PdfMetafile class | |
| PdfMetafile(String) | Initializes a new instance of the PdfMetafile class | |
| ActiveFrame |
Gets or sets the active frame of the image.
(Inherited from PdfImage.) | |
| BeginPageLayout |
Event. Raises before the element should be printed on the page.
(Inherited from PdfLayoutWidget.) | |
| Dispose()()()() | Releases all resources used by the PdfMetafile | |
| Draw(PdfCanvas) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfCanvas, PointF) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfPageBase, PointF) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfCanvas, Single, Single) |
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget.) | |
| Draw(PdfPageBase, PointF, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, RectangleF, Boolean) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, Single, Single) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| Draw(PdfPageBase, Single, Single, PdfTextLayout) |
Draws the element on the page.
(Inherited from PdfLayoutWidget.) | |
| DrawInternal(PdfCanvas) | (Inherited from PdfImage.) | |
| EndPageLayout |
Event. Raises after the element was printed on the page.
(Inherited from PdfLayoutWidget.) | |
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() | (Overrides Object..::..Finalize()()()().) | |
| FrameCount |
Gets the number of frames in the image.
(Inherited from PdfImage.) | |
| GetBounds()()()() |
Gets the bounds.
(Inherited from PdfShapeWidget.) | |
| GetBoundsInternal()()()() | (Inherited from PdfImage.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetPointSize(Single, Single) | (Inherited from PdfImage.) | |
| GetPointSize(Single, Single, Single, Single) | (Inherited from PdfImage.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Height |
Gets the height of the image in pixels.
(Inherited from PdfImage.) | |
| HorizontalResolution |
Gets the horizontal resolution, in pixels per inch, of this Image.
(Inherited from PdfImage.) | |
| Layout(HtmlToPdfLayoutParams) | (Overrides PdfLayoutWidget..::..Layout(HtmlToPdfLayoutParams).) | |
| Layout(PdfLayoutParams) | (Overrides PdfShapeWidget..::..Layout(PdfLayoutParams).) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| PageScale | ||
| PageUnit | ||
| PhysicalDimension |
Returns the size of the image in points.
(Inherited from PdfImage.) | |
| PngDirectToJpeg |
If True, png direct convert to Jpx and no mask.
(Inherited from PdfImage.) | |
| Quality | ||
| SetResolution(Single, Single) | (Inherited from PdfImage.) | |
| SetTransparency(Single, Single, PdfBlendMode, Boolean) | ||
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| VerticalResolution |
Gets the vertical resolution, in pixels per inch, of this Image.
(Inherited from PdfImage.) | |
| Width |
Gets the width of the image in pixels.
(Inherited from PdfImage.) |
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Graphics..::..PdfGraphicsWidget
Spire.Pdf.Graphics..::..PdfLayoutWidget
Spire.Pdf.Graphics..::..PdfShapeWidget
Spire.Pdf.Graphics..::..PdfImage
Spire.Pdf.Graphics..::..PdfMetafile
Spire.Pdf.Graphics..::..PdfGraphicsWidget
Spire.Pdf.Graphics..::..PdfLayoutWidget
Spire.Pdf.Graphics..::..PdfShapeWidget
Spire.Pdf.Graphics..::..PdfImage
Spire.Pdf.Graphics..::..PdfMetafile