 | 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 Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static class PdfLocalizationManager
Public NotInheritable Class PdfLocalizationManager
public ref class PdfLocalizationManager abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type PdfLocalizationManager = class end
public final class PdfLocalizationManager
Patagames.Pdf.Net.PdfLocalizationManager = function();
Type.createClass(
'Patagames.Pdf.Net.PdfLocalizationManager');
The PdfLocalizationManager type exposes the following members.
Properties| | Name | Description |
|---|
  | PtgPdfCoreErrors |
Gets or sets the custom resource manager used to override internal SDK error strings (e.g., "err0001").
|
  | PtgPdfCoreResources |
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.
|
  | WinFormsV4Errors |
Gets or sets the custom resource manager used to override error strings in the WinForms PdfViewer V4 component.
|
  | WinFormsV4Toolbars |
Gets or sets the custom resource manager used to override toolbar button text, tooltips, and menu item labels in the WinForms PdfViewer V4 component.
|
  | WpfV4Resources |
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| | Name | Description |
|---|
  | GetObject |
Safely retrieves a localized object resource (such as images, icons, or binary data) from the specified ResourceManager for a given culture.
|
  | GetString |
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