Represents the base class for images.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public abstract class PdfImage : PdfShapeWidget, 
	IPdfWrapper
Public MustInherit Class PdfImage
	Inherits PdfShapeWidget
	Implements IPdfWrapper
public ref class PdfImage abstract : public PdfShapeWidget, 
	IPdfWrapper
[<AbstractClassAttribute>]
type PdfImage =  
    class
        inherit PdfShapeWidget
        interface IPdfWrapper
    end

Members

               
 All Members  Constructors   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PdfImage()()()()
Initializes a new instance of the PdfImage class
ActiveFrame
Gets or sets the active frame of the image.
BeginPageLayout
Event. Raises before the element should be printed on the page.
(Inherited from PdfLayoutWidget.)
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) (Overrides PdfGraphicsWidget..::..DrawInternal(PdfCanvas).)
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()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FrameCount
Gets the number of frames in the image.
FromFile(String)
Creates PdfImage from a file.
FromImage(Image)
Converts a object into a PDF image.
FromRtf(String, Single, PdfImageType) Obsolete.
Creates a new image instance from RTF text.
FromRtf(String, Single, PdfImageType, PdfStringFormat) Obsolete.
Creates a new image instance from RTF text.
FromRtf(String, Single, Single, PdfImageType) Obsolete.
Creates a new image instance from RTF text.
FromRtf(String, Single, Single, PdfImageType, PdfStringFormat) Obsolete.
Creates a new image instance from RTF text.
FromStream(Stream)
Creates PdfImage from stream.
GetBounds()()()()
Gets the bounds.
(Inherited from PdfShapeWidget.)
GetBoundsInternal()()()() (Overrides PdfShapeWidget..::..GetBoundsInternal()()()().)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetPixelSize(Single, Single)
GetPointSize(Single, Single)
GetPointSize(Single, Single, Single, Single)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Height
Gets the height of the image in pixels.
HorizontalResolution
Gets the horizontal resolution, in pixels per inch, of this Image.
Layout(HtmlToPdfLayoutParams) (Inherited from PdfLayoutWidget.)
Layout(PdfLayoutParams) (Inherited from PdfShapeWidget.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PhysicalDimension
Returns the size of the image in points.
PngDirectToJpeg
If True, png direct convert to Jpx and no mask.
SetResolution(Single, Single)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
VerticalResolution
Gets the vertical resolution, in pixels per inch, of this Image.
Width
Gets the width of the image in pixels.

Inheritance Hierarchy

See Also