cete.dynamicpdf.globalsettings
GlobalSettings
- Namespace: ceTe.DynamicPDF
- Assemblies: DynamicPDF.NETFramework40.dll, DynamicPDF.NETStandard20.dll
Represents the class that contains the global settings used by the library.
public class GlobalSettings
Public Class GlobalSettings
Inheritance: Object → GlobalSettings
Properties
DefaultOutputPdfFormat
Gets or sets the default format for the PDF document.
public static PdfFormat DefaultOutputPdfFormat { get; set; }
Public Shared Property DefaultOutputPdfFormat As PdfFormat
Property Value
DefaultOutputPdfVersion
Gets or sets the default version for the PDF document.
public static PdfVersion DefaultOutputPdfVersion { get; set; }
Public Shared Property DefaultOutputPdfVersion As PdfVersion
Property Value
PathToFontsResourceDirectory
Path to default fonts resource directory. On Windows environment it will be default to Windows fonts directory.
public static string PathToFontsResourceDirectory { get; set; }
Public Shared Property PathToFontsResourceDirectory As String
Property Value
UseLegacyTextHeightCalculations
Gets or sets a boolean. Setting true will add a extra line gap to the required text height.
public static bool UseLegacyTextHeightCalculations { get; set; }
Public Shared Property UseLegacyTextHeightCalculations As Boolean
Property Value
Remarks
Setting this boolean true will add a extra line gap to the required height of the TextLineList .
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 .
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 .