Skip to main content

GlobalSettings

Version: 12.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

Licensing Info​

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF