Skip to main content

PhysicalPathResourceProvider

Version: 11.0

cete.dynamicpdf.layoutengine.physicalpathresourceprovider

PhysicalPathResourceProvider​

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​

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​

String

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​

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​

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​

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​

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 .

See Also​

ceTe.DynamicPDF.LayoutEngine