cete.dynamicpdf.layoutengine.physicalpathresourceprovider
PhysicalPathResourceProvider
- Namespace: ceTe.DynamicPDF.LayoutEngine
- Assemblies: DynamicPDF.CoreSuite.dll
Physical path resource provider class provides base path for all the resources referenced in the Dlex file.
public class PhysicalPathResourceProvider : ResourceProvider
Public Class PhysicalPathResourceProvider
Inherits ResourceProvider
Inheritance: Object → ResourceProvider → PhysicalPathResourceProvider
Constructors
PhysicalPathResourceProvider(String)
Creates new insteance of the physical path resource provider class.
public PhysicalPathResourceProvider(string basePath)
Public Sub New (basePath As String)
Parameters
- basePath: String
The physical base path to use for resources referenced in the DLEX file.
Properties
BasePath
Gets the base path of the resources referenced in the Dlex file.
public string BasePath { get; }
Public Property BasePath As String
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetImageData(String)
Gets the image data from the file path specified using base path.
public ImageData GetImageData(string filePath)
Function GetImageData(filePath As String) As ImageData
Parameters
- filePath: String
The file path of the image.
Returns
GetOpenTypeFont(String)
Gets the font from the file path specified using base path.
public OpenTypeFont GetOpenTypeFont(string filePath)
Function GetOpenTypeFont(filePath As String) As OpenTypeFont
Parameters
- filePath: String
The file path of the font.
Returns
GetPdfDocument(String)
Gets the pdf document from the file path specified using base path.
public PdfDocument GetPdfDocument(string filePath)
Function GetPdfDocument(filePath As String) As PdfDocument
Parameters
- filePath: String
The file path of the pdf document.
Returns
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .