Click or drag to resize

PdfLocalizationManager Class

Provides a global registration point for overriding internal SDK string and object resources. This class replaces dynamic runtime assembly scanning with a static, compile-time safe mechanism that is fully compatible with NativeAOT trimming.
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.NetPdfLocalizationManager

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public static class PdfLocalizationManager

The PdfLocalizationManager type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberPtgPdfCoreErrors Gets or sets the custom resource manager used to override internal SDK error strings (e.g., "err0001").
Public propertyStatic memberPtgPdfCoreResources Gets or sets the custom resource manager used to override internal SDK object resources, such as stamp text keys (e.g., "RuberStampApproved", "RuberStampDraft") and other structural assets.
Public propertyStatic memberWinFormsV4Errors Gets or sets the custom resource manager used to override error strings in the WinForms PdfViewer V4 component.
Public propertyStatic memberWinFormsV4Toolbars Gets or sets the custom resource manager used to override toolbar button text, tooltips, and menu item labels in the WinForms PdfViewer V4 component.
Public propertyStatic memberWpfV4Resources Gets or sets the custom resource manager used to override toolbar button text, tooltips, and menu item labels in the WPF PdfViewer V4 component.
Top
Methods
 NameDescription
Public methodStatic memberGetObject Safely retrieves a localized object resource (such as images, icons, or binary data) from the specified ResourceManager for a given culture.
Public methodStatic memberGetString Safely retrieves a localized string resource from the specified ResourceManager for a given culture.
Top
Remarks
When a specific culture (e.g., "de-DE") is requested by the application, the registered custom ResourceManager instances will be queried first. If a resource key is missing or not provided, the SDK safely falls back to its built-in default resources.
See Also