Skip to main content

GlobalSettings

Version: 11.0

cete.dynamicpdf.globalsettings

GlobalSettings​

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​

PdfFormat

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​

PdfVersion

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​

String

UseLegacyPageDimensions​

Gets or sets a boolean. Setting true will set page dimension as ExtendedPageDimensions .

public static bool UseLegacyPageDimensions { get; set; }
Public Shared Property UseLegacyPageDimensions As Boolean

Property Value​

Boolean

Remarks​

Setting true will set page dimension as ExtendedPageDimensions .

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​

Boolean

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​

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 .

See Also​

ceTe.DynamicPDF