Class ImageExportSettings
You can use this class to replace the system unavailable fonts.
Inheritance
System.Object
ImageExportSettings
Namespace: Syncfusion.Pdf.Parsing
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class ImageExportSettings : Object
Constructors
ImageExportSettings()
Declaration
public ImageExportSettings()
Properties
ContinueOnError
Gets or sets a value indicating whether the export process should continue if an error occurs. If set to true, the API will attempt to export the image and ignore any errors. If set to false, an exception will be thrown upon encountering the first error.
Declaration
public bool ContinueOnError { get; set; }
Property Value
Type |
---|
System.Boolean |
CustomSize
specifies the custom size of the converted image.
Declaration
public SizeF CustomSize { get; set; }
Property Value
Type |
---|
System.Drawing.SizeF |
DpiX
specifies the horizontal DPI of the resultant image.
Declaration
public float DpiX { get; set; }
Property Value
Type |
---|
System.Single |
DpiY
specifies the Vertical DPI of the resultant image.
Declaration
public float DpiY { get; set; }
Property Value
Type |
---|
System.Single |
KeepAspectRatio
specifies Whether need to maintain the pdf page size.
Declaration
public bool KeepAspectRatio { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
add_FontNotFound(ImageExportSettings.FontNotFoundEventHandler)
Declaration
public void add_FontNotFound(ImageExportSettings.FontNotFoundEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ImageExportSettings.FontNotFoundEventHandler | value |
remove_FontNotFound(ImageExportSettings.FontNotFoundEventHandler)
Declaration
public void remove_FontNotFound(ImageExportSettings.FontNotFoundEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ImageExportSettings.FontNotFoundEventHandler | value |
Events
FontNotFound
Raises after the specified font is not available in the system.
Declaration
public event ImageExportSettings.FontNotFoundEventHandler FontNotFound
Event Type
Type |
---|
ImageExportSettings.FontNotFoundEventHandler |