Namespace TallComponents.PDF.Layout.Paragraphs
Class Image
A paragraph that holds image (graphical) data.
The image class is a specialization of paragraph. Use this class to place a raster image on the page.
Syntax
public class Image
: Paragraph
Constructors
Image()
Initialize a new instance of the image class.
Image(Stream)
Initialize a new instance of the image class from a stream of binary data.
Image(Stream,Int32,Boolean)
Initialize a new instance of the image class from a stream of binary data.
Image(String)
Initialize a new instance of the image class from an image file.
Image(String,Int32)
Initialize a new instance of the image class from an image file and select the frame index.
Image(Bitmap)
Create a new Image from a CoreBitmap
Image(Bitmap,Int32)
Create a new Image from a CoreBitmap
Properties
Compression Compression
Get or set the compression applied to the image data inside the PDF document.
FitPolicy FitPolicy
Get or set the fit policy of the image
Int32 FrameCount
Get the number of frames in the image.
Int32 FrameIndex
Get or set the 0-Based index of the frame to display.
Double Height
Get or set the height of this image in points.
Boolean IgnoreAlpha
Get or set if the alpha transparency layer is ignored.
Boolean InvertCmykChannels
Set to true to invert the colors in a CMYK image.
Boolean KeepAspectRatio
Get or set if the aspect ratio is respected when resizing.
Color MaskColor
Get or set the color that will act as the transparent color.
String Path
Get or set the absolute, relative or virtual path of the image file.
Double Width
Get or set the width of this image in points.