TTMSFNCPDFLibPlatformServices.SupportsPlatformService Method
Returns
Truewhen a service for the specified GUID is registered.
API unit family: TMSFNCPDFCoreLibBase
Declaring type: TTMSFNCPDFLibPlatformServices
Overloads
Overload 1
Returns
Truewhen a service for the specified GUID is registered.
function SupportsPlatformService(const AServiceGUID: TGUID): Boolean; overload;
Parameters
| Name | Description |
|---|---|
AServiceGUID |
GUID to check. |
Returns
True if a service is registered for the given GUID; False otherwise.
Overload 2
Returns
Truewhen a service is registered; also returns the service interface inAService.
function SupportsPlatformService(const AServiceGUID: TGUID; var AService: IInterface): Boolean; overload;
Parameters
| Name | Description |
|---|---|
AServiceGUID |
GUID identifying the requested service. |
AService |
Receives the registered service interface, or nil if not found. |
Returns
True if a service is registered for the given GUID; False otherwise.