Namespace TallComponents.PDF.Layout.Paragraphs
Class Metafile
A paragraph that holds Metafile (graphical) data.
The Metafile class is a specialization of paragraph. Use this class to place a raster Metafile on the page.
Syntax
public class Metafile
: Paragraph
Constructors
Metafile()
Initialize a new instance of the Metafile class.
Metafile(Stream)
Initialize a new instance of the Metafile class from a stream of binary data.
Metafile(String)
Initialize a new instance of the Metafile class from a Metafile file.
Properties
FitPolicy FitPolicy
Get or set the fit policy of the Metafile
String FontPath
Relative or absolute path to the folder containing fonts. Leave empty to use the system font folder. (default = empty)
Double Height
Get or set the height of this Metafile in points.
Boolean KeepAspectRatio
Get or set if the aspect ratio is respected when resizing.
String Path
Get or set the absolute, relative or virtual path of the Metafile file.
Double Width
Get or set the width of this Metafile in points.